package com.huanghuai.retail.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangshuo
 * @since 2023-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("s_warn_info")
public class SWarnInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    @TableField("storage_id")
    private Long storageId;


    @TableField("product_id")
    private Long productId;

    @TableField("message")
    private String message;

    @TableField("date")
    private LocalDateTime date;

    @TableField("isHandle")
    private String isHandle;

    @TableField(exist = false)
    String storageName;

    @TableField(exist = false)
    String productName;
}
